package zh.codegym.task.task05.task0502;

/* 
实现 fight 方法
*/

public class Cat {
    public int age;
    public int weight;
    public int strength;

    public Cat() {
    }

    public boolean fight(Cat anotherCat) {
        //在此编写你的代码
        return this.weight*age*strength > anotherCat.weight*anotherCat.strength*anotherCat.age;
    }

    public static void main(String[] args) {

    }
}
